import request from '@/utils/request'

// 收藏
export function getVideoCollection(id) {
  return request({
    url: '/video/getVideoCollection?id=' + id,
    method: 'get'
  })
}

// 
export function addVideoCollection(videoCollection) {
  return request({
    url: '/video/addVideoCollection',
    method: 'post',
    data: videoCollection
  })
}

// 
export function deleteVideoCollection(id) {
  return request({
    url: '/video/deleteVideoCollection?id=' + id,
    method: 'get'
  })
}

